package objects;

public class QaItem {
    private final String mQuestion;
    private final String mAnswer;
    private boolean mExpanded = false;   // 折叠状态

    public QaItem(String question, String answer) {
        mQuestion = question;
        mAnswer = answer;
    }

    public String getQuestion() { 
        return mQuestion; 
    }
    public String getAnswer()   { 
        return mAnswer; 
    }
    public boolean isExpanded() { 
        return mExpanded; 
    }
    public void setExpanded(boolean expanded) { 
        mExpanded = expanded; 
    }
}